## 
mkdir -p /opt/tpm

## create public key
openssl rsa -in /etc/ssh/ssh_host_rsa_key -pubout > /opt/tpm/xen.pub


## copy schema file
cp -f xenaik.xml /opt/tpm/

## call the make cert and aikpublish

## copy all executables in /opt/tpm

# copy pythob plugins in the /etc/xapi.d/plugins
cp -f tpmChallangeAik  /etc/xapi.d/plugins/
cp -f tpmGetAttestationKey /etc/xapi.d/plugins/
cp tpmGetQuote /etc/xapi.d/plugins/
